package iosr11.Service;

import iosr11.data.Event;
import iosr11.data.EventKind;
import iosr11.data.EventSeries;
import iosr11.data.Student;
import iosr11.data.Teacher;

import java.util.List;

public interface EventSeriesService extends Service{
	
	public EventSeries getEventSeries(String id);
	public boolean createEventSeries(EventKind kind, Teacher teacher, List<Event> events);
	public boolean addEventSeries(EventSeries eventSeries);
	public boolean deleteEventSeries(EventSeries eventSeries);
	public boolean updateEventSeries(EventSeries eventSeries);

	public boolean setTeacherToEventSeries(Teacher teacher, EventSeries series);
	public boolean removeTeacherFromEventSeries(Teacher teacher, EventSeries series);
	public List<EventSeries> getAllEventSeries();
	public List<EventSeries> getStudentEventSeries(Student student);
	public boolean addStudentToEvents(Student student, EventSeries series);
	public boolean removeStudentFromSeries(Student student, EventSeries series);
	public boolean addEventToSeries(Event event, EventSeries series);
	public boolean removeEventFromSeries(Event event, EventSeries series);
	
}
